/*
 * Deskflow -- mouse and keyboard sharing utility
 * SPDX-FileCopyrightText: (C) 2025 Deskflow Developers
 * SPDX-FileCopyrightText: (C) 2012 - 2016 Symless Ltd.
 * SPDX-FileCopyrightText: (C) 2002 Chris Schoeneman
 * SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
 */

#pragma once

#include <QString>
#include <string>

#define WIN32_LEAN_AND_MEAN
#include <Windows.h>

QString winsockErrorToQString(int error);
QString windowsErrorToQString(DWORD error);
std::string winsockErrorToString(int error);
std::string windowsErrorToString(DWORD error);
